Sort Order

Indexmenu Sort Order

Or Indexmenu Sort Position… Each Namespace (Book) and Page has an index number to provide the correct order. You will see a code like this at the top of each page

 {{indexmenu_n>2}}

In edit mode it can be changed to revise the namespace or page position.

We are using the following code in brackets to set the sort order. This code needs to be at the top of each page above the first Title to set the sort order.

 {{indexmenu_n>[order_number] }}
==== Page Title ====

Just below the indexmenu_n>[order number] you will find the Title

====== TITLE ======

Indexmenu Plugin - Individual Page Sorting

More about Page sorting details… When there are sub-pages (namespaces as Dokuwiki calls them (actually I think of them as directories or folders) the plugin called IndexMenu is sorting all namespaces and then sorting all single pages. For a “Book” format this is not ideal, but we are using the standard Indexmenu so far and it is what we should expect.

What we want is for Namespaces and Pages to be sorted together and “interleaved” to maintain the Book / Chapter organization. The section below “Add Blank Child Pages so Indexmenu sorts” explains how to accomplish that.

In DW Edit Mode
{{indexmenu_n>2}}
+==== Scaling Charts ====+
In CKG Edit Mode
{{indexmenu_n>2}}
Scaling Charts

You should still see the indexmenu code with formatted Title below. When you paste into the CKG Edit Mode, make sure your cursor is set below the indexmenu code and the Title.